<script setup>
    // import { ref, computed } from 'vue'

    const count = ref(0)

    const plusOne = computed(()=>count.value +1)


</script>

<template>  
    <p>{{ count }}</p>
    <p>{{ plusOne }}</p>
    <button @click="count++">修改count</button>
</template>

<style scoped>

</style>